home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1995 April / Internet Tools.iso / dos_win / winsock / maillist / 94-02.Z / 94-02 / text0147.txt < prev    next >
Encoding:
Text File  |  1994-02-28  |  1.3 KB  |  33 lines

  1. Yes, I wrote a separate program to do the receiving. The program managing
  2. the control connection starts up the "receiver" with the port number as a
  3. command line argument. Crude, but it works. e-mail me if you want to know
  4. more.
  5.  
  6. >I'm trying to write a program in Visual Basic that is able to establish an FTP 
  7. >connection with a host on the internet.  I'm using the VTSockets VBX custom 
  8. >control.
  9. >
  10. >Right now, I think I've narrowed the problem down to the following:
  11. >I have a 'control' connection with the FTP server, which seems to work fine.  
  12. >In order to establish a data transfer connection, I think I need to set up a 
  13. >second socket, which will then 'listen' (at a different port) and wait for to 
  14. >host to initiate the transfer of data  How do I set up a 'listening' socket, 
  15. >and on which port should it listen??
  16. >
  17. >Does anybody out there have any experience with this??
  18. >
  19. >I hope I made my problem clear and somebody can help me.
  20. >
  21. >Thanks, 
  22. >
  23. >Martijn Hemelrijk
  24. >
  25. >______________________________________________________________
  26. >Martijn Hemelrijk                 hemelryk@vuse.vanderbilt.edu
  27. >Vanderbilt University            phone: (615) 322-2212
  28. >Box 1804, Sta. B                 fax: (615) 343-6449
  29. >Nashville, TN 37235            home: (615) 298-3356
  30. Eric Blossom  415 855-2270  EricBlossom@.epri.com
  31. Electric Power Research Institute, Palo Alto, CA
  32.  
  33.